// 导入组件
const Layout = () => import('@/layout/index.vue')
const monitorp=()=>import('@/views/intervention/monitorp.vue')
const monitorpill=()=>import('@/views/intervention/monitorpill.vue')
const diabetes=()=>import('@/views/intervention/diabetes.vue')
const diabetesill=()=>import('@/views/intervention/diabetesill.vue')
const coronary=()=>import('@/views/intervention/coronary.vue')
const coronaryill=()=>import('@/views/intervention/coronaryill.vue')
const intervenemonitorpill=()=>import('@/views/intervention/intervenemonitorpill.vue')
const intervenediabetesill=()=>import('@/views/intervention/intervenediabetesill.vue')
const intervenecoronaryill=()=>import('@/views/intervention/intervenecoronaryill.vue')
// 导出该组件
export default [
    {
      path: '/intervention',
      component: Layout,
      name: 'intervention',
      meta: { 
        title: '干预管理',
      },
      icon: 'Avatar',
      children: [
        {
          path: '/interventions',
          name: 'interventions',
          meta: {
            title: '一般人群监测',
            // affix: true,
          },
          children: [
            {
              path: '/monitorp',
              name: 'monitorp',
              component: monitorp,
              meta: {
                title: '高血压风险人群',
                // affix: true,
              },
            },
            {
              path: '/diabetes',
              name: 'diabetes',
              component: diabetes,
              meta: {
                title: '糖尿病风险人群',
                // affix: true,
              },
            },
            {
              path: '/coronary',
              name: 'coronary',
              component: coronary,
              meta: {
                title: '冠心病风险人群',
                // affix: true,
              },
            },
          ]
        },
        {
          path: '/interventionss',
          name: 'interventionss',
          meta: {
            title: '慢病患者监测',
            // affix: true,
          },
          children: [
            {
              path: '/monitorpill',
              name: 'monitorpill',
              component: monitorpill,
              meta: {
                title: '高血压患者',
                // affix: true,
              },
            },
            {
              path: '/diabetesill',
              name: 'diabetesill',
              component: diabetesill,
              meta: {
                title: '糖尿病患者',
                // affix: true,
              },
            },
            {
              path: '/coronaryill',
              name: 'coronaryill',
              component: coronaryill,
              meta: {
                title: '冠心病患者',
                // affix: true,
              },
            },
          ]
        },
        {
          path: '/interventionsss',
          name: 'interventionsss',
          meta: {
            title: '干预方案管理',
            // affix: true,
          },
          children: [
            {
              path: '/intervenemonitorpill',
              name: 'intervenemonitorpill',
              component: intervenemonitorpill,
              meta: {
                title: '高血压患者',
                // affix: true,
              },
            },
            {
              path: '/intervenediabetesill',
              name: 'intervenediabetesill',
              component: intervenediabetesill,
              meta: {
                title: '糖尿病患者',
                // affix: true,
              },
            },
            {
              path: '/intervenecoronaryill',
              name: 'intervenecoronaryill',
              component: intervenecoronaryill,
              meta: {
                title: '冠心病患者',
                // affix: true,
              },
            },
          ]
        },
      ],
    },
  ]